-- GENERATED SPELL FOR [Minigob Manabonk] --


function spell0_32838(pUnit, Event) --@Improved Blink,Self--
pUnit:FullCastSpellOnTarget(61995,pUnit)
pUnit:RegisterEvent('Sorts_32838', 4258, 1)
end

function Sorts_32838(pUnit, Event)
local choix_sorts_32838 = math.random(0, 0)
if choix_sorts_32838 == 0 then
pUnit:RegisterEvent('spell0_32838', 1, 1)
end
end

function mob32838_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32838', math.random(1500, 3000), 1)
end

function mob32838_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32838_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32838_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32838, 1, 'mob32838_Action')
RegisterUnitEvent(32838, 2, 'mob32838_Leave')
RegisterUnitEvent(32838, 3, 'mob32838_Kill')
RegisterUnitEvent(32838, 4, 'mob32838_Die')
